//0.导入axios
import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)

//1.创建instance

const instance = axios.create({
  baseURL: 'http://toutiao.itheima.net',
  timeout: 10000,
})

export default instance



